<template>
<div>
    <typeNav/>
    <listContainer/>
    <todayRecommend/>
    <rank/>
    <like/>
    <floor v-for="item in floorList" :key="item.id" :floor="item"/>
    <!-- <floor/> -->
    <brand/>
</div>
</template>
<script>
import listContainer from '@/pages/Home/listContainer'
import todayRecommend from '@/pages/Home/todayRecommend'
import rank from '@/pages/Home/rank'
import like from '@/pages/Home/like'
import floor from '@/pages/Home/floor'
import brand from '@/pages/Home/brand'
import {mapState} from 'vuex'
export default {
    name:'',
    components:{
        listContainer,
        todayRecommend,
        rank,
        like,
        floor,
        brand
    },
    methods:{

    },
    computed:{
        ...mapState({
            floorList:state=>state.home.reqFloorList
        })
    },
    mounted(){
        this.$store.dispatch('getFloorList');
    //  this.$store.dispatch("getUserInfo");
    },

}
</script>
<style lang="less">
    
</style>